class ErrorException(Exception):
    def __init__(self, message):
        self.message = message

class WarningException(Exception):
    def __init__(self, message):
        self.message = message

class DBQueryException(ErrorException):
    def __init__(self, message):
        self.message = message